Learn how to write effective test cases using pytest in Python